package com.xd.clap.entity.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xd.clap.entity.TaskAllocation;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class TaskVO {

    //位置
    private String location;

    //详细位置
    private String fullAddress;

    //任务内容
    private String content;

    //任务图片
    private String taskImg;

    //上传时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date createTime;

    //上传人
    private String createBy;

    //已处理任务数量
    private Integer processed;

    //任务人数
    private Integer totalCount;

    //处理人list
    private List<TaskAllocation> taskAllocations;
}
